﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using MySql.Data.MySqlClient;

namespace QD.TypeMapping
{
    public partial class DBTypeMapping
    {

        public DbType DbType { get; set; }

        public MySqlDbType MySqlDbType { get; set; }

        public SqlDbType SqlDbType { get; set; }

        public Type Type { get; set; }

        public string MySqlTypeName { get; set; }

        public string MsSqlTypeName { get; set; }

        public static IDictionary<String, DBTypeMapping> Hash_MySqlTypeName_Entity = new Dictionary<String, DBTypeMapping>(100);
        public static IDictionary<String, DBTypeMapping> Hash_MsSqlTypeName_Entity = new Dictionary<String, DBTypeMapping>(100);

        public static IDictionary<DbType, DBTypeMapping> Hash_DbType_Entity = new Dictionary<DbType, DBTypeMapping>(100);

        public static IDictionary<MySqlDbType, DBTypeMapping> Hash_MySqlType_Entity = new Dictionary<MySqlDbType, DBTypeMapping>(100);
        public static IDictionary<SqlDbType, DBTypeMapping> Hash_SqlType_Entity = new Dictionary<SqlDbType, DBTypeMapping>(100);


    }
}